package com.lichuang.fruitvarietysm.goods.service.impl;

import com.lichuang.fruitvarietysm.goods.entity.GoodsSkuAttr;
import com.lichuang.fruitvarietysm.goods.mapper.GoodsSkuAttrMapper;
import com.lichuang.fruitvarietysm.goods.service.IGoodsSkuAttrService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 商品详情页的属性值表 服务实现类
 * </p>
 *
 * @author shuaihang
 * @since 2019-06-14
 */
@Service
public class GoodsSkuAttrServiceImpl extends ServiceImpl<GoodsSkuAttrMapper, GoodsSkuAttr> implements IGoodsSkuAttrService {

    @Autowired
    GoodsSkuAttrMapper goodsSkuAttrMapper;

    @Override
    public List<GoodsSkuAttr> sSkuAttribute(Integer goods_id,Integer sku_attr_pid) {
        return goodsSkuAttrMapper.sSkuAttribute(goods_id,sku_attr_pid);
    }
}
